/*
  学习目标：使用JSX创建React元素
  */

import React from 'react';
import ReactDOM from 'react-dom';

// JSX
const ulNode = (
  <ul className="list">
    <li>苹果</li>
    <li>香蕉</li>
    <li>西瓜</li>
  </ul>
);

ReactDOM.render(ulNode, document.getElementById('root'));
